Next, edit your MENU resource and select "Choose Icon" from the "MENU" menu. This lets you select your small cicn that you just created.
The other way is to create a 'cicn', then open the MENU resource, and select
"open using template" from the Resource menu. You open the resource using the
MENU template. For the Icon# field of the menu item you want to append cicn to,
simply enter the result of 'cicn' resource id - 256.
Q What happens if I need to remove the Help menu and Applications menu from my
menu list so they no longer appear in my applications menu?
A From the Macintosh application interface standpoint, it's a bad idea.
According to the Macintosh Human Interface guidelines, the menu bar should
always contain the standard menus: the Apple menu, the File menu, the Edit
menu, the Help menu, and the Application menu.
Also, the Menu Manager will continually prevent this from working. Every time
the Menu Manager notices that these menus are not there (e.g., at MenuSelect
time, or at DrawMenuBar time) it will add them again. They must be there.
Q Is it possible to make the Mac menu bar within my application larger than the
standard 20 pixels (without patching any traps), and what sort of trouble might
this cause for me?
A Yes. Just use the same technique for hiding the menu bar in reverse. Part of
hiding the menu bar is changing the low memory global MBarHeight to 1 or 0. To
make the menu bar taller, just change that value to the height you want (in
pixels).
Note that this technique won't change the size of the text or the position of
the title text.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help